package com.sftz.sso.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("s_user")
public class SUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户名")
	private String username;

	@Column
	@Comment("密码")
	private String password;

	@Column
	@Comment("手机号")
	private String tel;

	@Column
	@Comment("邮箱")
	private String email;

	@Column
	@Comment("昵称")
	private String nickName;

	@Column
	@Comment("用户头像")
	private String avatar;

	@Column
	@Comment("用户类型")
	private Integer userType;

	@Column
	@Comment("用户状态")
	private Integer status;

	@Column
	@Comment("创建时间")
	private Date createTime;

	@Column
	@Comment("最后登陆时间")
	private Date lastLoginTime;

	@Column
	@Comment("真实姓名")
	private String realName;

	@Column
	@Comment("性别")
	private Integer sex;

	@Column
	@Comment("签名")
	private String sign;

	@Column
	@Comment("封面url")
	private String cover;

	@Column
	@Comment("职称")
	private String jobtitle;

	@Column
	@Comment("所在地")
	private String address;

	@Column
	@Comment("生日")
	private String birthday;

	@Column
	@Comment("封面标题")
	private String coverTitle;

	@Column
	@Comment("关注总数量")
	private Integer attentionCount;

	@Column
	@Comment("登录错误次数")
	private Integer errorCount;

}